package com.pathpad.hibernate;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

@Entity
@Table(name = "ppusercommonpad")
public class PPUserCommonPad implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "UserId", nullable = false)
	private PPUser ppUser;
	
	@Id
	@Column(name = "WebID", nullable = false)
	private java.lang.String webID;

	@Column(name = "WebName", nullable = false)
	private java.lang.String webName;

	@Column(name = "WebLocation")
	private java.lang.String webLocation;

	@Column(name = "Memo")
	private java.lang.String memo;

	@Version
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "TIMESTAMP", length = 23)
	private Date timestamp;

	public PPUser getPpUser() {
		return ppUser;
	}

	public void setPpUser(PPUser ppUser) {
		this.ppUser = ppUser;
	}

	public java.lang.String getWebID() {
		return webID;
	}

	public void setWebID(java.lang.String webID) {
		this.webID = webID;
	}

	public java.lang.String getWebName() {
		return webName;
	}

	public void setWebName(java.lang.String webName) {
		this.webName = webName;
	}

	public java.lang.String getWebLocation() {
		return webLocation;
	}

	public void setWebLocation(java.lang.String webLocation) {
		this.webLocation = webLocation;
	}

	public java.lang.String getMemo() {
		return memo;
	}

	public void setMemo(java.lang.String memo) {
		this.memo = memo;
	}

	public Date getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}
	
}
